<template>
    <wl-panel title="申请权限" subTitle="" titleIcon="pop_xz">
        <template v-if="footerFlag" slot="panel_footer">
            <el-button @click="applyAddWeb" type="primary">保存并提交</el-button>
        </template>
        <template slot="panel_body">
          <el-form :model="formData"  ref="webVAddForm" status-icon  label-width="100px" class="demo-ruleForm">
            <wl-form-inner subTitle="基本信息">
                <template slot="inner_body">
                    <div class="wl-row">
                        <wl-form-item label="域名网址" prop="url" :itemData="formData">
                            <wl-input :disabled="isEdit" slot="input" slot-scope="col" class="wl-input-item" :rawData="col.columnData" field="url" placeholder="输入域名网址"></wl-input>
                        </wl-form-item>
                        <wl-form-item label="网站名称" prop="name" :itemData="formData">
                            <wl-input :disabled="isEdit"  slot="input" slot-scope="col" class="wl-input-item" :rawData="col.columnData" field="name" placeholder="输入网站名称"></wl-input>
                        </wl-form-item>
                    </div>
                    <div class="wl-row">
                        <wl-form-item label="申请人"  :importance="false" prop="apply_name" :itemData="formData">
                            <wl-input  :disabled="true" slot="input" slot-scope="col" class="wl-input-item" :rawData="col.columnData" field="apply_name" placeholder="申请人"></wl-input>
                        </wl-form-item>
                         <wl-form-item label="申请日期" :importance="false" prop="create_date" :itemData="formData">
                            <wl-date-picker :disabled="true"  slot="input" slot-scope="col"  :rawData="col.columnData" field="create_date"  dataType="timestamp"  placeholder="申请日期"> </wl-date-picker>
                        </wl-form-item>
                    </div>
                    <div class="wl-row">
                        <wl-form-item class="wl-form-item-full-row" label="申请理由" prop="reason" :itemData="formData">
                            <wl-input setW=460 slot="input" class="wl-input-item" slot-scope="col" placeholder="输入申请理由" :rawData="col.columnData" field="reason"></wl-input>
                        </wl-form-item>
                    </div>
                    <div class="wl-row">
                        <wl-form-item class="wl-form-item-full-row" label="网站用途" :importance="false"  prop="purpose" :itemData="formData">
                            <wl-input setW=460 slot="input" class="wl-input-item" slot-scope="col" placeholder="输入网站用途" :rawData="col.columnData" field="purpose"></wl-input>
                        </wl-form-item>
                    </div>
                </template>
            </wl-form-inner>
          </el-form>
        </template>
    </wl-panel>
</template>
<script lang="ts" src="./webV_add_panel.ts"></script>
